# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=check-weak-dh-ssh
pkgver=0.1
pkgrel=7
groups=('blackarch' 'blackarch-scanner' 'blackarch-crypto')
pkgdesc='Debian OpenSSL weak client Diffie-Hellman Exchange checker.'
arch=('any')
url='http://packetstormsecurity.com/files/66683/check_weak_dh_ssh.pl.bz2.html'
license=('Apache')
depends=('perl' 'perl-net-packet' 'perl-data-dumper' 'perl-getopt-long'
         'perl-math-bigint-gmp')
source=('https://dl.packetstormsecurity.net/UNIX/scanners/check_weak_dh_ssh.pl.bz2')
sha512sums=('c9edbdbbaf9b96c115a5919a11b059215c336b8930952c9a500c125e10c0792b6ff97811371663afd4712a8b0fd98bbe00bdf1f5ae23e1710b7d80a0e5ebbf71')

package() {
  install -Dm 755 check_weak_dh_ssh.pl "$pkgdir/usr/bin/$pkgname"
}

